<!DOCTYPE html>
<html ng-app="app" ng-controller="indexCtrl">
<head lang="en">
    <meta charset="UTF-8">
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <title>广告投放-广告主</title>
	<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" id="favicon">
    <link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="css/bootstrap-datetimepicker.min.css"/>
    <link rel="stylesheet" href="css/base.css"/>
    <link rel="stylesheet" href="modules/agent/agActive/agActive.css"/>
    <link rel="stylesheet" href="css/calendar.css"/>
    <link rel="stylesheet" href="../../oem/css/common.css" />
    <script src="../res1.hubcloud.com.cn/lib/angularjs/angular_v1.5.5.min.js"></script>
    <script src="../res1.hubcloud.com.cn/lib/angularjs/angular_v1.5.5.min.js"></script>
    <script src="../res1.hubcloud.com.cn/lib/angularjs/angular-ui-router.min.js"></script>
    <script src="../res1.hubcloud.com.cn/lib/ocLazyLoad/ocLazyLoad.min.js"></script>
    <style>

    </style>
</head>
<body>
        <div class="nav_top">
                <div class="logo fl" id="logo">
                </div>
                <ul class="nav_list fl">
                    <!-- ngIf: permission.view['首页'] -->
                    <li ng-if="permission.view['首页']" class="ng-scope"><a ui-sref="agent.home" ui-sref-active="active"
                            href="./agentIndex.html" class="" >首页</a></li><!-- end ngIf: permission.view['首页'] -->
                    <!-- ngIf: permission.view['投放管理'] -->
                    <li ng-if="permission.view['投放管理']" class="ng-scope">
                        <!--<a ui-sref="agent.delivery" ui-sref-active="active">投放管理</a>-->
                        <a href="./active.html" class="toFirstSub" >投放管理</a>
                        <ul class="nav_dropdown" style="width: 1903px;">
                            <!-- ngIf: permission.view['投放管理'].sub['活动管理'] -->
                            <li ng-if="permission.view['投放管理'].sub['活动管理']" class="ng-scope"><a href="./active.html"
                                    ui-sref-active="active" ui-sref="agent.delivery.active" class="" >活动管理</a></li>
                            <!-- end ngIf: permission.view['投放管理'].sub['活动管理'] -->
                            <!-- ngIf: permission.view['投放管理'].sub['订单管理'] -->
                            <li ng-if="permission.view['投放管理'].sub['订单管理']" class="ng-scope"><a href="./order.html"
                                    ui-sref-active="active" ui-sref="agent.delivery.order" class="" >订单管理</a></li>
                            <!-- end ngIf: permission.view['投放管理'].sub['订单管理'] -->
                            <!-- ngIf: permission.view['投放管理'].sub['素材信息'] -->
                            <li ng-if="permission.view['投放管理'].sub['素材信息']" class="ng-scope"><a href="./creative.html"
                                    ui-sref-active="active" ui-sref="agent.delivery.creative" class="" >素材信息</a></li>
                            <!-- end ngIf: permission.view['投放管理'].sub['素材信息'] -->
                            <!-- ngIf: permission.view['投放管理'].sub['APP监测'] -->
                            <li ng-if="permission.view['投放管理'].sub['APP监测']" class="ng-scope"><a href="./audiences.html"
                                    ui-sref-active="active" ui-sref="agent.delivery.audiences" class="" >监测管理</a></li>
                            <!-- end ngIf: permission.view['投放管理'].sub['APP监测'] -->
                            <!-- ngIf: hasDepot -->
                        </ul>
                    </li><!-- end ngIf: permission.view['投放管理'] -->
                    <!-- ngIf: permission.view['报表中心'] -->
                    <li ng-if="permission.view['报表中心']" class="ng-scope">
                        <!--<a ui-sref="agent.report" ui-sref-active="active">报表</a>-->
                        <a href="./baoBiao.html" class="toFirstSub active"
                            ng-class="{'active':$state.includes('agent.report.*')}">报表中心</a>
                        <ul class="nav_dropdown" style="width: 1903px;">
                            <!-- ngIf: permission.view['报表中心'].sub['效果报表'] -->
                            <li ng-if="permission.view['报表中心'].sub['效果报表']" class="ng-scope"><a href="./baoBiao.html"
                                    ui-sref-active="active"
                                    ui-sref="agent.report.effect({'activeID':'0','activeName':'0','orderID':'0','orderName':'0'})"
                                    class="">效果报表</a></li><!-- end ngIf: permission.view['报表中心'].sub['效果报表'] -->
                                    <li ng-if="permission.view['合约报表'].sub['效果报表']" class="ng-scope">
							<a href="./heyuebaobiao.html" ui-sref-active="active" ui-sref="agent.report.effect({'activeID':'0','activeName':'0','orderID':'0','orderName':'0'})" class="">合约报表</a>
						</li>
                         
                        </ul>
                    </li><!-- end ngIf: permission.view['报表中心'] -->
                    <!-- ngIf: permission.view['系统管理'] -->
                    <li ng-if="permission.view['系统管理']" class="ng-scope">
                        <a href="./baseInfo.html" class="toFirstSub"
                            ng-class="{'active':$state.includes('agent.manage.*')}">系统管理</a>
                        <ul class="nav_dropdown" style="width: 1903px;">
                            <!-- ngIf: permission.view['系统管理'].sub['基本信息'] -->
                            <li ng-if="permission.view['系统管理'].sub['基本信息']" class="ng-scope"><a href="./baseInfo.html"
                                    ui-sref-active="active" ui-sref="agent.manage.baseInfo" class="">基本信息</a></li>
                            <!-- end ngIf: permission.view['系统管理'].sub['基本信息'] -->
                            <!-- ngIf: permission.view['系统管理'].sub['资质管理'] -->
                            <li ng-if="permission.view['系统管理'].sub['资质管理']" class="ng-scope"><a href="./qualifications.html"
                                    ui-sref-active="active" ui-sref="agent.manage.qualifications" class="">资质管理</a></li>
                            <!-- end ngIf: permission.view['系统管理'].sub['资质管理'] -->
                        </ul>
                    </li><!-- end ngIf: permission.view['系统管理'] -->
                    <!-- ngIf: permission.view['财务管理'] -->
                    <li ng-if="permission.view['财务管理']" class="ng-scope">
                        <!--<a ui-sref="agent.finance" ui-sref-active="active">财务管理</a>-->
                        <a href="./caiwu.html" class="toFirstSub"
                            ng-class="{'active':$state.includes('agent.finance.*')}">财务管理</a>
                        <ul class="nav_dropdown" style="width: 1903px;">
                            <!-- ngIf: permission.view['财务管理'].sub['财务信息'] -->
                            <li ng-if="permission.view['财务管理'].sub['财务信息']" class="ng-scope"><a href="./caiwu.html"
                                    ui-sref-active="active" ui-sref="agent.finance.trade" class="">财务信息</a></li>
                            <!-- end ngIf: permission.view['财务管理'].sub['财务信息'] -->
                        </ul>
                    </li><!-- end ngIf: permission.view['财务管理'] -->
                </ul>
                <div class="user">
                    <div class="user-avatar"></div>
                    <div class="user-info">
                        <p ng-bind="advUser.loginName" class="ng-binding">昌投网络科技-C1</p>
                        <p ng-bind="advUser.name" class="ng-binding">上海昌投网络科技有限公司1</p>
                    </div>
                    <ul class="user-list">
                        <li class="ng-binding">余额：</li>
                        <li ng-show="permission.act['退出登录']" ng-click="logout()" class="">退出登录</li>
                    </ul>
                </div>
            </div>
<ui-view class="ng-scope"><!-- uiView:  --><ui-view class="ng-scope"><!-- uiView:  --><ui-view class="ng-scope"><div class="agReport-page page ng-scope">
        <!--页面标题-->
        <h3 class="page-title">合约交易报表</h3>
        <div class="chargeBox">
            <div class="filter-box dateBox cl">
                <div class="dropdown dropdown-date ng-isolate-scope" callback="chooseDate">                        <button class="btn btn-default dropdown-toggle ng-binding" type="button" data-toggle="dropdown" aria-expanded="false">今日：2019年03月12日</button>                        <span class="caret"></span>                        <ul class="dropdown-menu wr">                            <!-- ngIf: hasAll -->                            <li ng-click="selectDate(1)"><a href="javascript:;" class="ng-binding">今日：2019年03月12日</a></li>                            <li ng-click="selectDate(2)"><a href="javascript:;" class="ng-binding">昨日：2019年03月11日</a></li>                            <li ng-click="selectDate(3)"><a href="javascript:;" class="ng-binding">最近7日：2019年03月06日 — 2019年03月12日</a></li>                            <li ng-click="selectDate(4)"><a href="javascript:;" class="ng-binding">最近14日：2019年02月27日 — 2019年03月12日</a></li>                            <li class="li_time">                                <a href="javascript:;" class="cl">                                    <span class="fl"><input ng-click="calendar($event)" type="text" readonly="readonly" class="startTime" placeholder="选择开始时间..."><i class="icon_time"></i></span>                                    <em class="fl">-</em>                                    <span class="fl"><input ng-click="calendar($event)" type="text" readonly="readonly" class="endTime" placeholder="选择结束时间..."><i class="icon_time"></i></span>                                    <span class="fl"><input ng-click="selectDate(5)" type="button" value="确认选择" class="affirm"></span>                                </a>                            </li>                        </ul>                    </div>
                <div class="dropdown dropdown-filter ng-isolate-scope" ng-class="{disabled:disabled}" list="select" callback="chooseStatus">                            <button class="btn btn-default dropdown-toggle cl" data-toggle="dropdown" aria-expanded="false">                                <span style="width: 55%; display: inline-block;" class="ng-binding">全部资源类型</span>                                <span ng-show="publish" class="estimate ng-hide">                                    <span class="ng-binding">流量占比：%</span>                                    <span style="width: %"></span>                                </span>                            </button>                            <span class="caret"></span>                            <ul class="dropdown-menu">                                <!-- ngRepeat: item in list --><li class="cl ng-scope" ng-repeat="item in list" ng-click="clickFunc(item)">                                    <a title="保价保量" href="javascript:;" class="ng-binding">保价保量</a>                                    <span ng-show="publish" class="estimate fl ng-hide">                                        <span class="ng-binding">流量占比：%</span>                                        <span style="width: %"></span>                                    </span>                                </li><!-- end ngRepeat: item in list --><li class="cl ng-scope" ng-repeat="item in list" ng-click="clickFunc(item)">                                    <a title="保价不保量" href="javascript:;" class="ng-binding">保价不保量</a>                                    <span ng-show="publish" class="estimate fl ng-hide">                                        <span class="ng-binding">流量占比：%</span>                                        <span style="width: %"></span>                                    </span>                                </li><!-- end ngRepeat: item in list -->                            </ul>                        </div>
            </div>
        </div>
        <!--表格-->
        <div class="table-box">
            <div class="table-title">
                <h3 class="table-title-font">合约交易列表</h3>
                <div class="table-download" ng-click="download()"></div>
            </div>
            <table>
                <thead>
                <tr>
                    <!--<th><check module="allCheck" callback="allCheckFunc"></check></th>-->
                    <th>合约资源订单名称</th>
                    <th>采买类型</th>
                    <th>平台类型</th>
                    <th>资源类型</th>
                    <th>投放时段</th>
                    <th>花费(元)</th>
                    <!-- ngIf: userType=='1' --><th ng-if="userType=='1'" class="ng-scope">成本(元)</th><!-- end ngIf: userType=='1' -->
                    <!-- ngIf: userType=='1' --><th ng-if="userType=='1'" class="ng-scope">利润(元)</th><!-- end ngIf: userType=='1' -->
                    <!-- ngIf: userType=='1' --><th ng-if="userType=='1'" class="ng-scope">利润率</th><!-- end ngIf: userType=='1' -->
                    <th>展示量</th>
                    <th>点击量</th>
                    <th>点击率</th>
                    <th>CPM单价(元)</th>
                    <th>CPC单价(元)</th>
                </tr>
                </thead>
                <tbody>
                <!-- ngRepeat: item in total -->
    
                <!-- ngRepeat: item in activelist -->
                </tbody>
            </table>
        </div>
        <div id="pageToolbar" class="page"><div id="Paging_06877119677269075" class="ui-paging-container"><ul><li class="js-page-first js-page-action ui-pager ui-pager-disabled">首页</li><li class="js-page-prev js-page-action ui-pager ui-pager-disabled">上一页</li><li class="ui-paging-toolbar"><span>跳转到</span><input type="text" class="ui-paging-count"> 页<select class="ui-select-pagesize"><option value="20">每页展示20条/页</option><option value="50">每页展示50条/页</option><option value="100">每页展示100条/页</option></select><span> </span></li><li class="js-page-last js-page-action ui-pager">末页</li><li class="js-page-next js-page-action ui-pager">下一页</li></ul></div></div>
    
    </div>
    </ui-view></ui-view></ui-view>



</body>
</html>
<script src="../res1.hubcloud.com.cn/lib/jquery/jquery.min.js"></script>


<!-- <script src="../res1.hubcloud.com.cn/lib/layer/layer.js"></script>
<script src="../res1.hubcloud.com.cn/lib/bootstrap/js/bootstrap.min.js"></script>
<script src="../res1.hubcloud.com.cn/lib/calendar/calendar.js"></script>

<script src="../res1.hubcloud.com.cn/lib/qiniu/plupload/moxie.js"></script>
<script src="../res1.hubcloud.com.cn/lib/query.js"></script>
<script src="../res1.hubcloud.com.cn/lib/paging.js"></script>
<script src="js/commen.js?rand=v1.0.54"></script>
<script src="./js/factory/proxy.js"></script> -->
<!-- <script src="./modules/agent/app.js?rand=v1.0.54"></script> -->
<!-- <script src="./modules/agent/router.js?rand=v1.0.54"></script> -->

<script>
    $(function(){
        $('.user').on('click',function(){
            $(this).toggleClass('hover');
        })

        $('.user').mouseleave(function(){
            $(this).removeClass('hover');
        });

        
        $('.dropdown').on('click',function(){

            if($(this).hasClass("open")){
                $(this).removeClass('open');
            }else{
                $('.dropdown').removeClass('open');
                $(this).addClass('open');
            }
        })

    })
</script>
<script src="../../oem/js/oem.js"></script>
